branching and merging strategies